#include <bits/stdc++.h>

using namespace std;

using LL = long long;

template<typename T = int>
inline void oo(string str, T val) {
    cerr << str << val << endl;
}

template<typename T = int>
inline T read() {
    T x;
    cin >> x;
    return x;
}

#define endl '\n'
#define FOR(i, x, y) \
  for (decay<decltype(y)>::type i = (x), _##i = (y); i < _##i; ++i)
#define FORD(i, x, y) \
  for (decay<decltype(x)>::type i = (x), _##i = (y); i > _##i; --i)

int main() {
    std::iostream::sync_with_stdio(false);
    cin.tie(nullptr);
    cout.tie(nullptr);
    FOR(i, 1, read() + 1) {
        LL A(read<LL>()), B(read<LL>()), C(read<LL>());
        cout << "Case #" << i << ": " << (A + B > C ? "true" : "false") << endl;
    }
    return 0;
}
